package com.example.moneybook.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author: 包
 * @Date: 2023/3/1 19:29
 * Description:
 */
@Data
@TableName("transfer")
public class Transfer {
    @TableId(value = "transfer_id", type = IdType.AUTO)
    private int transferId;
    private String userId;
    private int fromId;     //转入或转出账户id
    private int toId;       //转入或转出账户id
    private int transferMoney;      //转账金额
    private int transferState;      //转账状态，0是收入，1是支出
    private String remarks;         //备注
    private String transferDate;    //转账日期
    private String transferTime;    //转账时间
}
